package com.vc.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.vc.model.dto.CommentDTO;
import com.vc.model.entity.BmsComment;
import com.vc.model.entity.UmsUser;
import com.vc.model.vo.CommentVO;

import java.util.List;

public interface BmsCommentService extends IService<BmsComment> {
    // 获取帖子所有的评论
    List<CommentVO> getCommentsByTopicID(String topicid);

    // 添加评论
    BmsComment create(CommentDTO dto, UmsUser principal);
}
